#{extends 'main.html' /} #{set title:'Entities' /} #{set 'moreScripts'}
#{set 'moreStyles'}
<link rel="stylesheet" href="@{'/public/stylesheets/css3buttons.css'}">
#{/set} #{/set}
<div id=main>
	<h1>organization name:${organization.name}</h1>
	#{ifnot entities}
	<p>No Entities</p>
	#{/ifnot}
	<ul>

		#{list items:entities, as:'entity'}
		<li>Name :${entity.entityName}<br />  <a
			class="btn assign"
			href="@{Usercontroller.assignOrganizer(user.id,organization.id,entity.id)}"><span></span>assign
				as Organizer</a><br /> <br /> <br />
		</li> #{/list}
	</ul>
	<br /> <br />
</div>